<?php
/**
 * Basic Model
 *
 * @author      Hyper <hyperjiang@gmail.com>
 * @copyright   Copyright (c) 2011 (http://www.saleshero.com)
 */
abstract class SalesHero_Model_Abstract
{

    /**
     * db
     *
     * @var Zend_Db_Adapter_Abstract
     */
    public $db = null;

    /**
     * Application config
     *
     * @var Zend_Config
     */
    public $config = null;

    /**
     * Constructor
     */
    public function __construct()
    {
        $this->db = Zend_Registry::get('db');
        $this->config = Zend_Registry::get('config');
    }
}